[XEN] Fix 14315
authorTim Deegan <Tim.Deegan@xensource.com>
Fri, 9 Mar 2007 12:28:37 +0000 (12:28 +0000)
committerTim Deegan <Tim.Deegan@xensource.com>
Fri, 9 Mar 2007 12:28:37 +0000 (12:28 +0000)
We do need to be able to shadow_enable vcpu-less domains.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
xen/arch/x86/mm/shadow/common.c

index c8829abc2a4ca8b965907e7f415f05d2b6e4b452..4907736299344cf0cec0291d144cf598bd91c685 100644 (file)
@@ -2386,7 +2386,6 @@ int shadow_enable(struct domain *d, u32 mode)
 
     /* Sanity check the arguments */
     if ( (d == current->domain) ||
-         d->vcpu[0] == NULL ||
          shadow_mode_enabled(d) ||
          ((mode & PG_translate) && !(mode & PG_refcounts)) ||
          ((mode & PG_external) && !(mode & PG_translate)) )